package com.pingan.agentbank.aaos.pojo;

import java.util.Objects;

public class RequestInfo {

    private SysHeader sysHeader;
    private BusiData busiData;

    public SysHeader getSysHeader() {
        return sysHeader;
    }

    public void setSysHeader(SysHeader sysHeader) {
        this.sysHeader = sysHeader;
    }

    public BusiData getBusiData() {
        return busiData;
    }

    public void setBusiData(BusiData busiData) {
        this.busiData = busiData;
    }

    public RequestInfo(SysHeader sysHeader, BusiData busiData) {
        this.sysHeader = sysHeader;
        this.busiData = busiData;
    }

    public RequestInfo() {
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        RequestInfo that = (RequestInfo) o;
        return Objects.equals(sysHeader, that.sysHeader) &&
                Objects.equals(busiData, that.busiData);
    }

    @Override
    public int hashCode() {
        return Objects.hash(sysHeader, busiData);
    }
}
